﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ComModel;
using ComBLL;

namespace ForumUI.Controllers
{
    public class SearchController : Controller
    {
        //
        // GET: /Search/
        searchbll bll = new searchbll();
        public ActionResult Index()
        {
            return View();
        }
        public ActionResult searchdo()
        {
            string content = Request["content"];

            List<ContentModel> searchlist= bll.searchlist(content);

            return View(searchlist);
        }

    }
}
